package com.example.eureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.context.ConfigurableApplicationContext;
/**
 * @author x
 */
@SpringBootApplication
@EnableEurekaServer
public class EurekaApplication {

    /**
     * 配置文件：http://localhost:8761/eureka
     */
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(EurekaApplication.class, args);
    }
}
